<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/11/25
  Time: 15:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>发表评论</title>
</head>
<style>
    p,body {
        padding: 0;
        margin: 0;
    }
    body {
        background-color: rgb(255, 242, 226)
    }
    .rg_layout {
        border-radius: 11px;
        overflow: hidden;
        height: 500px;
        width: 1150px;
        margin: 70px auto;
        background-color: #fff;
        border: 7px solid #eee;
    }
    .rg_left {
        float: left;
        margin: 15px;
    }
    .rg_center {
        float: left;
        margin-top: 130px;
        margin-left: 160px;
    }
    .rg_right {
        margin: 20px;
        float: right;
    }
    .rg_left>p:nth-child(1) {
        color: #ffd026;
        font-size: 20px;
    }
    .rg_left>p:nth-child(2) {
        color: #a6a6a6;
        font-size: 20px;
    }
    .rg_right>p {
        font-size: 14px;
    }
    .rg_right a {
        color: pink;
    }
    .td_submit {
        margin-left: 221px;
        font-size: 19px;
    }
</style>
<body>
<div class="rg_layout">
    <div class="rg_left">
        <p>发布游记</p>
        <p>COMMIT TRAVEL</p>
    </div>
    <div class="rg_center">
        <div class="rg_form">
            <form action="/travel/commitTravel" method="post">
                <table>
                    <input type="hidden" name="userid" value="${sessionScope.userid}">
                    <tr>
                        <td>标题:</td>
                    </tr>
                    <tr>
                        <td><input type="text" name="title"></td>
                    </tr>
                    <tr>
                        <td>内容:</td>
                    </tr>
                    <tr>
                        <td>
                            <textarea rows="7" cols="30" name="ctext" id="text" style="margin: 0px; width: 399px; height: 159px;">
                            </textarea>
                        </td>
                    </tr>
                    <tr><td colspan="2"><input class="td_submit" type="submit" value="上传"></td></tr>
                </table>
            </form>
        </div>
    </div>
    <div class="rg_right">
        <p><a href="###">返回首页</a></p>
    </div>
</div>
</body>
</html>
